<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/7/24
  Time: 10:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="renderer" content="webkit">
    <title>成都工业教务系统</title>
    <meta name="keywords" content="简单,实用,网站后台,后台管理,管理系统,网站模板"/>
    <meta name="description" content="简单实用网站后台管理系统网站模板下载。"/>
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/css/pintuer.css">
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/css/admin.css">
    <script src="${pageContext.servletContext.contextPath}/js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="${pageContext.servletContext.contextPath}/images/y.jpg" class="radius-circle rotate-hover" height="50" alt=""/>后台管理中心</h1>
    </div>
    <div class="head-l"><a class="button button-little bg-green" href="" target="_blank"><span class="icon-home"></span>
        前台首页</a> &nbsp;&nbsp;<a href="##" class="button button-little bg-blue"><span class="icon-wrench"></span>
        清除缓存</a> &nbsp;&nbsp;<a class="button button-little bg-red" href="login.html"><span
            class="icon-power-off"></span> 退出登录</a></div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>

    <c:forEach items="${firstLvMenuList}" var="firstLvMenu">
        <c:if test="${firstLvMenu.fMenuId == 1}">
            <h2><span class="${firstLvMenu.icon}"></span>${firstLvMenu.menuName}</h2>

            <ul>
                <c:forEach items="${menuLvMap}" var="menuLvMapEntry">
                    <c:if test="${firstLvMenu.menuId == menuLvMapEntry.key}">
                        <c:forEach items="${menuLvMapEntry.value}" var="scdLvMenu">
                            <li><a href="${pageContext.servletContext.contextPath}${scdLvMenu.url}" target="right"><span
                                    class="icon-caret-right"></span>${scdLvMenu.menuName}</a></li>
                        </c:forEach>
                    </c:if>
                </c:forEach>
            </ul>
        </c:if>
    </c:forEach>
</div>
<script type="text/javascript">
    $(function () {
        $(".leftnav h2").click(function () {
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function () {
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
<ul class="bread">
    <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
    <li><b>当前语言：</b><span style="color:red;">中文</php></span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="${pageContext.servletContext.contextPath}/info.jsp"
            name="right" width="100%" height="100%">
    </iframe>
</div>
</body>
</html>